package Stream;

public class info {
    private String name;
    private int age;
    private double scores;

    public info() {
    }

    public info(String name, int age, double scores) {
        this.name = name;
        this.age = age;
        this.scores = scores;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScores() {
        return scores;
    }

    public void setScores(double scores) {
        this.scores = scores;
    }

    @Override
    public String toString() {
        return " " +
                " " + name + '\'' +
                " " + age +
                " " + scores +
                ' ';
    }
}
